package cn.xtcode.domain.activity.service;

import cn.xtcode.domain.activity.model.entity.MarketProductEntity;
import cn.xtcode.domain.activity.model.entity.TrialBalanceEntity;

/**
 * @Author xt-code
 * @Description:
 * @Create 2025/5/6 12:07
 */
public interface IIndexGroupBuyMarketService {

    /**
     * 根据请求计算当前用户购买商品是否可以获得折扣
     * @param marketProductEntity 用户请求
     */
    TrialBalanceEntity indexMarketTrial(MarketProductEntity marketProductEntity) throws Exception;
}
